package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;
import org.hibernate.validator.constraints.SafeHtml;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/28 10:59
 */
@Entity
@Table(name = "odoc_diagnosis_detail")
public class OdocDiagnosisDetail extends BaseEntity{
    @Id
    private String code;//诊断明细PK [CODE, VARCHAR2, 32]
    private String opdiagnoseCode;//诊断主表PK [OPDIAGNOSE_CODE, VARCHAR2, 32]
    private String isMainDiagnose;//是否主诊断;1-是 2-否 [IS_MAIN_DIAGNOSE, VARCHAR2, 1]
    private String diagnosisCode;//诊断编码;ICD-10国际编码 [DIAGNOSIS_CODE, VARCHAR2, 32]
    private String diagnosisName;//诊断编码对应的名称，也保存手动输入的诊断 [DIAGNOSIS_NAME, VARCHAR2, 512]

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getOpdiagnoseCode() {
        return opdiagnoseCode;
    }

    public void setOpdiagnoseCode(String opdiagnoseCode) {
        this.opdiagnoseCode = opdiagnoseCode;
    }

    public String getIsMainDiagnose() {
        return isMainDiagnose;
    }

    public void setIsMainDiagnose(String isMainDiagnose) {
        this.isMainDiagnose = isMainDiagnose;
    }

    public String getDiagnosisCode() {
        return diagnosisCode;
    }

    public void setDiagnosisCode(String diagnosisCode) {
        this.diagnosisCode = diagnosisCode;
    }

    public String getDiagnosisName() {
        return diagnosisName;
    }

    public void setDiagnosisName(String diagnosisName) {
        this.diagnosisName = diagnosisName;
    }
}
